package com.weishu.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 相册
 * </p>
 *
 * @author zgx
 * @since 2021-10-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TbAlbum implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 楼盘ID
     */
    private Long premisesId;

    /**
     * 图片名称
     */
    private String name;

    /**
     * 图片路径
     */
    private String url;

    /**
     * 图片类型
     */
    private Integer albumType;

    /**
     * 图片状态
     */
    private Integer status;

    /**
     * 图片上传时间
     */
    private LocalDateTime createTime;

    /**
     * 上传人
     */
    private Integer createBy;


}
